package com.loto.insurance.oem.web.enumeration;

public enum InvoiceStatusEnum {
	CANCELED("取消", 0), UNPAY("等待支付", 1), UNCHECK("等待审核", 2), CHECK_SUC("审核通过",
			3), DELIVER_SUC("配送完成", 4), CHECK_FAILS("审核不通过", 5);

	private String name;
	private int index;

	private InvoiceStatusEnum(String name, int index) {
		this.name = name;
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	@Override
	public String toString() {
		return this.name;
	}
}
